import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import Wujie from 'wujie-vue3'
const { preloadApp } = Wujie

import { microApp } from './config/app-micro'
import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(createPinia())
app.use(router)

app.mount('#app')

for (const appName in microApp) {
  preloadApp(microApp[appName])
}
